<template>
  <div>
    <el-form ref="form" :model="form" label-width="80px">
      <el-col :span="6" style="padding-left: 15px; padding-right: 15px">
        <div class="divLable">仓库编号</div>
        <el-input size="medium" v-model="form.like_code" placeholder="请输入"></el-input>
      </el-col>
      <el-col :span="6" style="padding-left: 15px; padding-right: 15px">
        <div class="divLable">仓库名称</div>
        <el-input size="medium" v-model="form.like_name" placeholder="请输入"></el-input>
      </el-col>
      <el-col :span="6">
        <div class="divLable">仓库状态</div>

        <el-select
          style="width: 100%"
          v-model="form.status"
          placeholder="请选择"
        >
          <el-option label="全部" value="0"></el-option>
          <el-option label="启用" value="1"></el-option>
          <el-option label="停用" value="2"></el-option>
        </el-select>
      </el-col>
      <el-col :span="6">
        <div class="choise">
          <div class="divLable" style="margin-bottom: 8px; height: 18px"></div>

          <el-form-item>
            <el-button type="warning" round @click="onSubmit">搜索</el-button>
            <el-button round>重置</el-button>
          </el-form-item>
        </div>
      </el-col>
    </el-form>
  </div>
</template>

<script>
export default {
  name: 'ITinput',
  data () {
    return {
      form: {
        like_code: '',
        like_name: '',
        status: ''
      }
    }
  },
  methods: {
    onSubmit () {
      console.log(this.form)
    }
  }
}
</script>

<style lang="scss" scoped>
.divLable {
  color: #887e7e;
  font-size: 8px;
  font-family: PingFangSC, PingFangSC-Medium;
  font-weight: 500;
  margin-bottom: 10px;
}
::v-deep .el-input__inner {
  height: 40px;
  line-height: 40px;
  border: 1px solid #f8f5f5;
  background: #f8f5f5;
  border-radius: 6px;
}
// ::v-deep .el-input--medium .el-input__inner {
//   height: 40px;
//   line-height: 40px;
//   border: 1px solid #f8f5f5;
//   background: #f8f5f5;
//   border-radius: 6px;
// }
::v-deep .el-input .el-input__inner:hover {
  border: 1px solid #686867;
}
::v-deep .el-input .el-input__inner:focus {
  border: 1px solid #ffc12f;
}
</style>
